package com.ruoyi.ruoyiqywechat.controller;

import com.ruoyi.common.core.domain.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * 海报接口
 */
@RestController
@RequestMapping("banner")
public class BannerController {


    /**
     * 海报列表
     * @return
     */
    @GetMapping("queryBanner")
    public R<List<String>> queryBanner(){
        ArrayList<String> arrayList = new ArrayList<>();
        arrayList.add("https://chancel.oss-cn-beijing.aliyuncs.com/wechat/hb1.jpg");
        arrayList.add("https://chancel.oss-cn-beijing.aliyuncs.com/wechat/hb1.jpg");
        arrayList.add("https://chancel.oss-cn-beijing.aliyuncs.com/wechat/hb1.jpg");
        return R.ok(arrayList);
    }
}
